package com.hdsx.jxcsxm.xtgl.server;

import java.util.HashMap;
import java.util.List;

import com.hdsx.jxcsxm.xtgl.bean.*;

public interface XtglServer {

	boolean czPassword(Master master);

	List<TreeNode> selchildedw(String string);

	List<TreeNode> seldw(String yhdw);

	boolean updatePassword(HashMap hm);

	HashMap<String, String> login(HashMap hm);

	HashMap<String, String> loginForSM(HashMap hm);

	HashMap<String, String> isLoginByEncryption(HashMap hm);

	List<TreeNode> selAllXzqh2(String yhdw);

	List<TreeNode> selAllXzqh(String yhdw);

	int selectYhListCount(HashMap hm);

	List<Master> selectYhList(HashMap hm);

	List<HashMap> selQxList(HashMap hm);

	boolean insertYh(Master master);

	boolean updatezt(HashMap hm);

	boolean mimareset(HashMap hm);

	boolean deleteYh(String yhm);

	boolean updateYh(Master master);

	List<Param> selectJsList(Param param);

	boolean insertJs(Param param);

	boolean deleteJsById(Param param);

	int selectDwListCount(Unit unit);

	List<Unit> selectDwList(Unit unit);

	List<TreeNode> getBmbmTreeByName(HashMap<String, String> hm);

	List<TreeNode> loadGhny();
	List<TreeNode> loadXmtjGhny();

	boolean insertDw(Unit unit);

	boolean deleteDwById(Unit unit);

	List<Unit> selectDwById(Unit unit);

	boolean updateDw(Unit unit);

	int selectBmbmListCount(Unit unit);

	List<Unit> selectBmbmList(Unit unit);

	boolean insertBmbm(Unit unit);

	boolean updateBmbm(Unit unit);

	boolean deleteBmbmById(Unit unit);

	List<Master> checkname(HashMap hm);

	List<Param> selectTsdqList(Param param);

	int selectXzqhListCount(Unit unit);

	List<Unit> selectXzqhList(Unit unit);

	

	List<Unit> checkXzqhCfById(Unit unit);

	boolean insertXzqh(Unit unit);

	boolean updateXzqh(Unit unit);

	boolean deleteXzqhById(Unit unit);

	boolean updateTsdqZt(Param param);

	List<TreeNode> selAllTsdq2(String yhdw);

	List<TreeNode> selAllTsdq(String yhdw);

	boolean insertTsdq(Param param);

	boolean deleteTsdqById(Param param);

	Param selectTsdqById(Param param);

	List<TreeNode> selAllBm(String yhdw);

	List<TreeNode> selAllBm2(String yhdw);

	boolean updateTsdq(Param param);

	Master selectYhById(Master master);

	List<TreeNode> selAllQx(String yhdw);

	List<TreeNode> selAllQx2(String yhdw);

	Param selectJsById(Param param);

	boolean updateJs(Param param);

	List<Param> selQxByUser(Param param);

	List<TreeNode> selQxByRoleid(Param param);

	List<Param> selQxListByRoleid(Param param);

	List<Unit> selectLxQlDataList(String id);

	List<TreeNode> loadBmbmList(String yhm);

	List<Param> selSqlStrByLxid(Param param);
	
	
	List<Param> checkJsCfByName(Param param);

	List<Param> selJsUsedById(Param param);

	HashMap<String, String> loginCheck(HashMap hm);

	List<Master> userlogin(String master);

	List<TreeNode> createMenu(Unit unit);

	List<Param> selQxByUser1(Param param);

	Master selectPwd(String temp);


	List<HashMap<String, String>> selBmbmList();
	List<HashMap<String, String>> createGhnyByName();


	Unit getbmbmbyid(Unit unit);

	List<TreeNode> getjhxdwh(String tablename);
	List<TreeNode> getjhxdwhbb(String tablename);
	
	List<TreeNode> getjhxdwhSbzj();
	
	List<TreeNode> selAllXzqh1(String replaceAll);

	List<TreeNode> selAllUnit1(String replaceAll);

	List<TreeNode> getWhTreeByName(HashMap<String, String> hm);

	List<TreeNode> getWhTreeByNameSh(HashMap<String, String> hm);

	List<TreeNode> getWhTreeByNameShNew(HashMap<String, String> hm);

	boolean updateName(HashMap hm);

	Param getxqxbyid(Param param);

	List<Lxsh> selectlxbyxmid(Lxsh Lxsh);

	Lxsh selectJcsmSl(String gydw);

	boolean addBbTj(Xmjbxx xmjbxx);

	List<TreeNode> getWhTreeByNameTj(HashMap<String, String> hm);

	List<TreeNode> getjhxmjd();
	List<TreeNode> getxmmc();

	List<TreeNode> getTsdq();

    List<TreeNode> getWhTreeByNameFunds(HashMap<String, String> hm);

    boolean querySouceidByRoleId(XtglParam xtglParam);
}
